Throw.onLowerBound

Called automatically upon a bounds error.

  1. T onLowerBound(Rhs rhs, T bound)
    struct Throw
    static
    T
    onLowerBound
    (
    Rhs
    T
    )
    (
    Rhs rhs
    ,
    )
  2. T onUpperBound(Rhs rhs, T bound)

Parameters

rhs
Type: Rhs

The right-hand side value in the assignment, after the operator has been evaluated

bound
Type: T

The value of the bound being violated

Return Value

Type: T

Nominally the result is the desired value of the operator, which will be forwarded as result. For Throw, the function never returns because it throws.

Meta